package ModLayer;

/**
 * Write a description of class Lease here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Lease 
{
    private String idProduct;
    private String id;
    private String idCustomer;
    private String idEmployee;
    private String startDate;
    private int duration;
    
    public Lease(String idP, String id, String idC, String idE, String startD, int dur)
    {
        idProduct = idP;
        this.id = id;
        idCustomer = idC;
        idEmployee = idE;
        startDate = startD;
        duration = dur;
    }
    
     public void setIDCustomer(String id)
    {
        idCustomer = id;
    }
    
     public void setIDProduct(String id)
    {
        idProduct = id;
    }
    
    public void setIDEemployee(String id)
    {
        idEmployee = id;
    }
    
    public void setDuration(int dur)
    {
        duration = dur;
    }
    
    public String setStartDate(String startD)
    {
        return startDate;
    }
    
    public String getID()
    {
        return id;
    }
    
    public String getIDProduct()
    {
        return idProduct;
    }
    
    public String getIDCustomer()
    {
        return idCustomer;
    }
    
     public String getIDEmployee()
    {
        return idEmployee;
    }
    
    public String getStartDate()
    {
        return startDate;
    }
    
    public int getDuration()
    {
        return duration;
    }
}